package com.yenroc.ho.netty;


import com.yenroc.ho.netty.enums.GlobalTransactionType;

/**
 * @author： heyanpeng
 * @date： 2021/7/28
 */
public class TkMessageVo {

    // 事务组Id
    private String groupId;

    // 事务id
    private String transactionId;

    // commit，rollback
    private GlobalTransactionType transactionType;

    private String message;

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public GlobalTransactionType getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(GlobalTransactionType transactionType) {
        this.transactionType = transactionType;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    @Override
    public String toString() {
        return "TkMessageVo{" +
                "groupId='" + groupId + '\'' +
                ", transactionId='" + transactionId + '\'' +
                ", transactionType=" + transactionType +
                ", message=" + message +
                '}';
    }
}
